<div class="lang">
	<?php foreach( $langs as $index => $lang ):?>
		<?php if( $lang['lang'] == $currentNode['lang'] ):?>
		<a class="active" href="<?php include_component('linker', 'articleLinkBuilder', array('node' => $lang ) ) ?>"><?php echo $lang['lang'] ?></a> <?php if($index+1 < count($langs)): ?>|<?php endif; ?>
		<?php else:?>
		<a href="<?php include_component('linker', 'articleLinkBuilder', array('node' => $lang ) ) ?>"><?php echo $lang['lang'] ?></a> <?php if($index+1 < count($langs)): ?>|<?php endif; ?>
		<?php endif;?>
	<?php endforeach;?>
</div>